c9b9c2457eca988a43c763643e3d1c622787aaaa,portal-impl/src/com/liferay/portlet/journal/lar/JournalPortletDataHandlerImpl.java,JournalPortletDataHandlerImpl,exportArticle,#PortletDataContext#Element#JournalArticle#,275

Before Change


			PortletDataContext context, Element el, JournalArticle article)
		throws IOException, PortalException, SystemException {

		if (context.isWithinDateRange(article.getModifiedDate())) {
			String path = getArticlePath(context, article);

			el.addElement("article").addAttribute("path", path);

			if (context.isPathNotProcessed(path)) {
				if (article.isSmallImage()) {

After Change


public class JournalPortletDataHandlerImpl implements PortletDataHandler {

	public static void exportArticle(
			PortletDataContext context, Element articlesEl,
			JournalArticle article)
		throws IOException, PortalException, SystemException {

		if (!context.isWithinDateRange(article.getModifiedDate())) {
			return;
		}

		String path = getArticlePath(context, article);

		Element articleEl = articlesEl.addElement("article");

		articleEl.addAttribute("path", path);